%@ LANGUAGE="VBSCRIPT"%> <%Response.Buffer = True%> <% '*** This file defines all the constants used throughout the message board and there is quite a few of them. Dim StrConnect Dim objRec Dim objRec2 Dim objCommand Dim strSQL Dim CatTitle Dim CatID '*** If you need to use a DSN rather than a connection string change it so that you de-comment the first line and comment the second. strConnect = "DSN=thmartin-arcivwar" ' strConnect = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=d:\html\users\tommymartinnet\database\arcwlinks.mdb" '*** The conection object is used all the time so we'll dimension it here Dim objConn '*** This constant is the name of your message board. Const LSTitle = "Links System" Const LSAdminPassword = "admin" '*** These are body tags. Const LSPageBody1 = "
" Const LSCatCells = "| " 'Row 1 Column 1 of the resources table Const LSResR1C2 = " | " 'Rows 2 and 4 Column 1 of the resources table Const LSResR2a4C1 = " | " 'Row 3 Column 1 of the resources table Const LSResR3C1 = " | "
'*** Define fonts
'*** Where you see "s in HTML tags put a " in front. Otherwise you get an 'Expected end of statement' error
Const FONT1 = ""
Const FONT2 = ""
Const FONT3 = ""
Const FONT4 = ""
'*** Define images for use in the board.
Const MBImgLogo = " |